package com.kaka.bus.engine.evaluate.sell;

import com.kaka.bus.bean.HttpWrapper;
import com.kaka.bus.bean.ProductInfo;
import com.kaka.bus.mvp.BasePresenter;
import com.kaka.bus.mvp.BaseView;

/**
 * Created by OnionMac on 2018/1/17.
 */

public interface SellContract {

    interface View extends BaseView{

        void getProductSuccess(HttpWrapper<ProductInfo> wrapper);

        void createProduct(HttpWrapper<String> wrapper);
    }

    interface Presenter extends BasePresenter<View>{

        void loadData(String userId, String token, String device,String productId);

        void createProduct(String userId, String productId, String amount, String token);

        void router(SellActivity sellActivity);

    }

}
